package com.scorekeeper.utils;

import android.util.Log;

public class Logger {
	
	private final static String TAG = "com.scorekeeper"; 
	
	public static void LogError(String msg) {
		LogError(TAG, msg);
	}
	
	public static void LogError(Exception ex) {
		LogError(TAG, ex);
	}
	
	public static void LogError(String Tag, String Msg) {
		Log.e(Tag, Msg);
	}
	
	public static void LogError(String Tag, Exception ex) {
		Log.e(Tag, ex.getMessage());
		Log.e(Tag, ex.getStackTrace().toString());
	}
	
	public static void LogDebug(String message) {
		LogDebug(TAG, message);
	}
	
	public static void LogDebug(String Tag, String message) {
		Log.d(Tag, message);
	}
}